package com.macrounion.atv.controller.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.macrounion.atv.processor.RegProcessor;
import com.macrounion.atv.service.entity.Reg;
import com.macrounion.atv.service.entity.User;
import com.macrounion.atv.service.service.RegService;
import com.macrounion.base.controller.api.BaseApiController;

@RestController
@RequestMapping("/api/reg")
public class RegApiController extends BaseApiController<Reg, Reg, RegProcessor, RegService, Reg,User> {
	@GetMapping({"/getReg"})
    public Reg getReg() {
        return processor.getReg();
    }
}